package org.creavi.engine.hud;

import com.jme.scene.Node;
import com.jme.scene.shape.Quad;

public class HudInstance {
	private HudDefinition definition;

	private Node hudNode;

	private Quad hudQuad;

	private float width;

	private float height;

	public HudInstance(String name, HudDefinition definition) {
		this.hudNode = new Node(name);
		this.definition = definition;
	}

	public HudDefinition getDefinition() {
		return definition;
	}

	public Node getHudNode() {
		return hudNode;
	}

	public Quad getHudQuad() {
		return hudQuad;
	}

	public void setHudQuad(Quad hudQuad) {
		this.hudQuad = hudQuad;
	}

	public float getHeight() {
		return height;
	}

	public void setHeight(float height) {
		this.height = height;
	}

	public float getWidth() {
		return width;
	}

	public void setWidth(float width) {
		this.width = width;
	}

}
